﻿using System.Collections;
using System.Collections.Generic;
using System.Data;

namespace Zeus.DAL.ADO
{
    public interface IDAO<T>
    {
  
        bool Insert(T obj);

        bool Update(T obj);

        bool Delete(int id);

        T GetSingle(int id);

        IList<T> GetAll();

        IList<T> GetByCond(string cond);

        DataSet GetDsAll();

        DataSet GetDsByCond(string cond);
    }
}

